*************************************************************************************************************************************;
****Replication Data for "Why Most Ukrainians Feel Anger, Hatred or Contempt toward Russian Citizens after the 2022 Invasion"********;
**************by Konstantin Ash and Miroslav Shapovalov. Forthcoming in Political Psychology*****************************************;
*************************************************************************************************************************************;

****Tables 1 and 2: DESCRIPTIVE STATISTICS****;

sum  ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_fear ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy ruspeople_love ruspeople_admiration ruspeople_joy ruspeople_pleasure ruspeople_pride ruspeople_amusement ruspeople_indifference if survey_2019==1;
sum  ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_fear ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy ruspeople_love ruspeople_admiration ruspeople_joy ruspeople_pleasure ruspeople_pride ruspeople_amusement ruspeople_indifference if focusgroup_2020==1;

sum  rusgov_anger rusgov_hatred rusgov_contempt rusgov_fear rusgov_disappointment rusgov_shame rusgov_regret rusgov_sadness rusgov_sympathy rusgov_love rusgov_admiration rusgov_joy rusgov_pleasure rusgov_pride rusgov_amusement rusgov_indifference if survey_2019==1;
sum  rusgov_anger rusgov_hatred rusgov_contempt rusgov_fear rusgov_disappointment rusgov_shame rusgov_regret rusgov_sadness rusgov_sympathy rusgov_love rusgov_admiration rusgov_joy rusgov_pleasure rusgov_pride rusgov_amusement rusgov_indifference if focusgroup_2020==1;

sum  rusgov_positive rusgov_neg_active rusgov_neg_passive ruspeople_positive ruspeople_neg_active ruspeople_neg_passive if survey_2019==1;
sum  rusgov_positive rusgov_neg_active rusgov_neg_passive ruspeople_positive ruspeople_neg_active ruspeople_neg_passive if focusgroup_2020==1;

clear;
use veteran_survey_trunc;
sum  ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_fear ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy ruspeople_love ruspeople_admiration ruspeople_joy ruspeople_pleasure ruspeople_pride ruspeople_amusement ruspeople_indifference if ato_survey==1;
sum  rusgov_anger rusgov_hatred rusgov_contempt rusgov_fear rusgov_disappointment rusgov_shame rusgov_regret rusgov_sadness rusgov_sympathy rusgov_love rusgov_admiration rusgov_joy rusgov_pleasure rusgov_pride rusgov_amusement rus_indifference if ato_survey==1;
sum  rusgov_positive rusgov_neg_active rusgov_neg_passive ruspeople_positive ruspeople_neg_active ruspeople_neg_passive if ato_survey==1;

clear;
use russia_change_final;

sum  ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_fear ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy ruspeople_love ruspeople_admiration ruspeople_joy ruspeople_pleasure ruspeople_pride ruspeople_amusement ruspeople_indifference if survey_2022==1;
sum  rusgov_anger rusgov_hatred rusgov_contempt rusgov_fear rusgov_disappointment rusgov_shame rusgov_regret rusgov_sadness rusgov_sympathy rusgov_love rusgov_admiration rusgov_joy rusgov_pleasure rusgov_pride rusgov_amusement rusgov_indifference if survey_2022==1;
sum  rusgov_positive rusgov_neg_active rusgov_neg_passive ruspeople_positive ruspeople_neg_active ruspeople_neg_passive if survey_2022==1;

****Cronbach's Alpha either Tests for each sample***;
alpha ruspeople_anger ruspeople_hate ruspeople_contempt if survey_2019==1;
alpha ruspeople_anger ruspeople_hate ruspeople_contempt if focusgroup_2020==1;
alpha ruspeople_anger ruspeople_hate ruspeople_contempt if survey_2022==1;

***Correlations between active negative emotion measures***;
corr ruspeople_anger ruspeople_hate ruspeople_contempt if survey_2019==1;
corr ruspeople_anger ruspeople_hate ruspeople_contempt if focusgroup_2020==1;
corr ruspeople_anger ruspeople_hate ruspeople_contempt if survey_2022==1;

***Table 3: Pre-invasion Emotions: Neither is baseline***;
mlogit rusgov_ruspeople_cardinal female age education married language_mix_survey russian_only rural east south center ussr nodivision if survey_2022!=1,vce(cluster cluster) baseoutcome(0);
eststo h1;
mlogit rusgov_ruspeople_cardinal female age education married language_mix_survey russian_only rural east south center ussr nodivision revolution2004 revolution2014  if survey_2022!=1,vce(cluster cluster) baseoutcome(0);
eststo h2;
estout h1 h2 using preinvasion_mlogit.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 

*** Table 4: Post-invasion Emotions: Both is baseline***;
mlogit rusgov_ruspeople_cardinal female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision ,vce(cluster cluster) baseoutcome(2);
eststo h3;
mlogit rusgov_ruspeople_cardinal female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision revolution2004 revolution2014,vce(cluster cluster) baseoutcome(2);
eststo h4;
estout h3 h4 using postinvasion_mlogit.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 

***Table 5: Peace Settlement or Keep Fighting***;
oprobit  agreement_necessary ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural, vce(cluster cluster);
eststo d1;
oprobit  agreement_necessary ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo d2;
oprobit   zsu_win ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment  east south center rural, vce(cluster cluster);
eststo d3;
oprobit  zsu_win ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo d4;
estout d1 d2 d3 d4 using emotion_effects.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 


***********************;
***APPENDIX************;
***********************;

***Table A1: Sample Comparisson****;
#delimit;
clear;
use veteran_survey_trunc;
sum age female education  survey_language_russian language_family language_native eu_agreement minsk2 revolution2004 revolution2014 ussrourhistory nodivisionbylanguage  if ato_survey==1;
sum age female education  survey_language_russian language_family language_native eu_agreement minsk2 revolution2004 revolution2014 ussrourhistory nodivisionbylanguage  if ato_survey==0;
clear;
use russia_change_final;
***2019 Survey***;
sum age  female  education  survey_russian family_russian native_russian expenses income eu_agreement  minsk2 revolution2004 revolution2014  ussrourhistory   nodivisionbylanguage if survey_2019==1;
sum age  female  education  survey_russian family_russian native_russian expenses income eu_agreement  minsk2 revolution2004 revolution2014  ussrourhistory   nodivisionbylanguage if cluster_type=="City 100-499 thousand" | cluster_type=="City 500-999 thousand" | cluster_type=="City over 1 million" & survey_2019==1;clear;
***2022 Survey***;
sum age female education  survey_russian  native_russian family_russian expenses income  revolution2004 revolution2014  ussrourhistory  nodivisionbylanguage if survey_2022==1;
sum age female education  survey_russian  native_russian family_russian expenses income  revolution2004 revolution2014  ussrourhistory  nodivisionbylanguage if cluster_population<4;
clear;



***Table A2: Heterogenous Treatment Effects of Invasion****;
xi: logit ruspeople_neg_active i.survey_2022*female i.survey_2022*education i.survey_2022*age i.survey_2022*married i.survey_2022*language_mix_survey i.survey_2022*russian_only i.survey_2022*east i.survey_2022*south i.survey_2022*center  i.survey_2022*rural   if focusgroup!=1, vce(cluster cluster);
eststo a1;
xi: logit ruspeople_neg_active i.survey_2022*female i.survey_2022*education i.survey_2022*age i.survey_2022*married i.survey_2022*language_mix_survey i.survey_2022*russian_only i.survey_2022*east i.survey_2022*south i.survey_2022*center  i.survey_2022*rural  i.survey_2022*income i.survey_2022*expenses  if focusgroup!=1, vce(cluster cluster);
eststo a2;
xi: logit ruspeople_neg_active i.survey_2022*female i.survey_2022*education i.survey_2022*age i.survey_2022*married i.survey_2022*language_mix_survey i.survey_2022*russian_only i.survey_2022*east i.survey_2022*south i.survey_2022*center  i.survey_2022*rural i.survey_2022*ussr i.survey_2022*nodivision i.survey_2022*servedsince2010 i.survey_2022*injuredindonbass  if focusgroup!=1, vce(cluster cluster);
eststo a3;
xi: logit ruspeople_neg_active i.survey_2022*female i.survey_2022*education i.survey_2022*age i.survey_2022*married i.survey_2022*language_mix_survey i.survey_2022*russian_only i.survey_2022*east i.survey_2022*south i.survey_2022*center  i.survey_2022*rural i.survey_2022*ussr i.survey_2022*nodivision  i.survey_2022*revolution2004 i.survey_2022*revolution2014  if focusgroup!=1, vce(cluster cluster);
eststo a4;
estout a1  a2 a3 a4  using hettreat1.tex, replace cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) eform legend label collabels(none) varlabels(_cons \_cons) style(tex); 


****Table A3: With Focus Groups****;
xi: logit ruspeople_neg_active i.survey_2022*female i.survey_2022*education i.survey_2022*age i.survey_2022*married i.survey_2022*language_mix_survey i.survey_2022*russian_only i.survey_2022*east i.survey_2022*south i.survey_2022*center  i.survey_2022*rural , vce(cluster cluster);
eststo b1;
xi: logit ruspeople_neg_active i.survey_2022*female i.survey_2022*education i.survey_2022*age i.survey_2022*married i.survey_2022*language_mix_survey i.survey_2022*russian_only i.survey_2022*east i.survey_2022*south i.survey_2022*center  i.survey_2022*rural  i.survey_2022*income i.survey_2022*expenses , vce(cluster cluster);
eststo b2;
xi: logit ruspeople_neg_active i.survey_2022*female i.survey_2022*education i.survey_2022*age i.survey_2022*married i.survey_2022*language_mix_survey i.survey_2022*russian_only i.survey_2022*east i.survey_2022*south i.survey_2022*center  i.survey_2022*rural i.survey_2022*ussr i.survey_2022*nodivision  i.survey_2022*servedsince2010 i.survey_2022*injuredindonbass , vce(cluster cluster);
eststo b3;
xi: logit ruspeople_neg_active i.survey_2022*female i.survey_2022*education i.survey_2022*age i.survey_2022*married i.survey_2022*language_mix_survey i.survey_2022*russian_only i.survey_2022*east i.survey_2022*south i.survey_2022*center  i.survey_2022*rural i.survey_2022*ussr i.survey_2022*nodivision  i.survey_2022*revolution2004 i.survey_2022*revolution2014 , vce(cluster cluster);
eststo b4;
estout b1 b2 b3 b4 using hettreat2.tex, replace cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) eform legend label collabels(none) varlabels(_cons \_cons) style(tex); 


****Table A4: Distribution of Active Negative Emotion toward Russian Citizens across Samples and Sub-groups****;

tab  ruspeople_neg_active focusgroup if east==1 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if east==1, co;
tab  ruspeople_neg_active focusgroup if south==1 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if south==1, co;
tab  ruspeople_neg_active focusgroup if center==1 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if center==1, co;
tab  ruspeople_neg_active focusgroup if west==1 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if west==1, co;

tab  ruspeople_neg_active focusgroup if russian_only==1 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if russian_only==1, co;
tab  ruspeople_neg_active focusgroup if ukrainian_only==1 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if ukrainian_only==1, co;
tab  ruspeople_neg_active focusgroup if language_mix_survey==1 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if language_mix_survey==1, co;

tab  ruspeople_neg_active focusgroup if revolution2014<3& survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if revolution2014==1 | revolution2014==2, co;
tab  ruspeople_neg_active focusgroup if revolution2014>3 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if revolution2014==4 | revolution2014==5, co;
tab  ruspeople_neg_active focusgroup if revolution2014==3 & survey_2022==0, co;
tab  ruspeople_neg_active survey_2022 if revolution2014==3 ,co;


***Table A5: Binary Outcome Variable: Logistic Regression on Active Negative Emotion toward Russian Citizens***;
logit ruspeople_neg_active female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center,vce(cluster cluster);
eststo c1;
logit ruspeople_neg_active female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center income expenses,vce(cluster cluster);
eststo c2;
logit ruspeople_neg_active female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision ,vce(cluster cluster);
eststo c3;
logit ruspeople_neg_active female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision revolution2004 revolution2014,vce(cluster cluster);
eststo c4;
estout c1 c2 c3 c4 using postinvasion.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 


***Table A6: Binary Outcome Variable: Logistic Regression on Anger toward Russian Citizens***;
logit  ruspeople_anger female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center,vce(cluster cluster);
eststo d1;
logit ruspeople_anger female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center income expenses,vce(cluster cluster);
eststo d2;
logit ruspeople_anger female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision ,vce(cluster cluster);
eststo d3;
logit ruspeople_anger female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision revolution2004 revolution2014,vce(cluster cluster);
eststo d4;
estout d1 d2 d3 d4 using postinvasion_anger.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 

***Table A7: Binary Outcome Variable: Logistic Regression on Hatred toward Russian Citizens***;
logit  ruspeople_hate female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center,vce(cluster cluster);
eststo e1;
logit  ruspeople_hate female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center income expenses,vce(cluster cluster);
eststo e2;
logit  ruspeople_hate female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision ,vce(cluster cluster);
eststo e3;
logit  ruspeople_hate female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision revolution2004 revolution2014,vce(cluster cluster);
eststo e4;
estout e1 e2 e3 e4 using postinvasion_hatred.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 

***Table A8: Binary Outcome Variable: Logistic Regression on Contempt toward Russian Citizens***;
logit  ruspeople_contempt female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center,vce(cluster cluster);
eststo f1;
logit  ruspeople_contempt female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center income expenses,vce(cluster cluster);
eststo f2;
logit  ruspeople_contempt female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision ,vce(cluster cluster);
eststo f3;
logit  ruspeople_contempt female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision revolution2004 revolution2014,vce(cluster cluster);
eststo f4;
estout f1 f2 f3 f4 using postinvasion_contempt.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 

***Table A9: Binary Outcome Variable: Logistic Regression on Fear toward Russian Citizens***;
logit  ruspeople_fear female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center,vce(cluster cluster);
eststo g1;
logit  ruspeople_fear female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center income expenses,vce(cluster cluster);
eststo g2;
logit  ruspeople_fear female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision ,vce(cluster cluster);
eststo g3;
logit  ruspeople_fear female age education married children language_mix_survey russian_only zsu_connection wounded_connection occupied_connection russian_people_smi russian_people_empire russian_people_repression rural refugee east south center ussr nodivision revolution2004 revolution2014,vce(cluster cluster);
eststo g4;
estout g1 g2 g3 g4 using postinvasion_fear.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 



***Table A10: Peace Settlement or Keep Fighting: Separate Emotions***;
oprobit  agreement_necessary  ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame  holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural, vce(cluster cluster);
eststo r1;
oprobit  agreement_necessary  ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo r2;
oprobit   zsu_win  ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment  east south center rural, vce(cluster cluster);
eststo r3;
oprobit  zsu_win  ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo r4;
estout r1 r2 r3 r4 using emotion_effects_sep.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 

***Table A11: Peace Settlement: Specific Concessions***;
oprobit  neutrality ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo e1;
oprobit  nato_ban ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment  upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo e2;
oprobit  russian_constitution ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo e3;
oprobit  donbass_administrative ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment  upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo e4;
oprobit  donbass_23feb_independent ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo e5;
oprobit  crimea_independent ruspeople_neg_passive ruspeople_neg_active ruspeople_positive rusgov_neg_passive rusgov_neg_active rusgov_positive  holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo e6;
estout e1 e2 e3 e4 e5 e6 using emotion_effects_sep2.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 

***Table A12: Peace Settlement: Specific Concessions and Individual Emotions***;
oprobit  neutrality ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame   holodomor_treatment redarmy_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo f1;
oprobit  nato_ban ruspeople_neg_passive ruspeople_neg_active ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame  holodomor_treatment redarmy_treatment  upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo f2;
oprobit  russian_constitution ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame   holodomor_treatment redarmy_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo f3;
oprobit  donbass_administrative ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame  holodomor_treatment redarmy_treatment  upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo f4;
oprobit  donbass_23feb_independent ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame holodomor_treatment redarmy_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo f5;
oprobit  crimea_independent ruspeople_anger ruspeople_hate ruspeople_contempt ruspeople_disappointment ruspeople_shame ruspeople_regret ruspeople_sadness ruspeople_sympathy rusgov_anger rusgov_hatred rusgov_contempt rusgov_disappointment rusgov_shame holodomor_treatment redarmy_treatment crimea_poll_treatment dnrlnr_23feb_passport_treatment upa_treatment east south center rural female age education married children migrant_bin language_mix_survey russian_only zsu_connection wounded_connection occupied_connection income, vce(cluster cluster);
eststo f6;
estout f1 f2 f3 f4 f5 f6 using emotion_effects_sep3.tex, replace eform cells(b(star fmt(%9.3f)) se(par)) stats(r2_a N, fmt(%9.3f %9.0g) labels(R-squared)) legend label collabels(none) varlabels(_cons \_cons) style(tex); 


*****New Variable Labels for Main Data****;
label var  survey_language "Survey Language";
label var  survey_number "Survey Number";
label var  oblast "Oblast";
label var  date "Survey Date";
label var  cluster_type "Settlement Type";
label var  cluster "Settlement Number";
label var  cluster_code "Settlement Number";
label var  cluster_num "Settlement Type";
label var   focusgroup_2020 "2020 Lab-in-the-Field Participant";
label var  cluster_pop "Settlement Type (2022)";
label var  migrant_oblast "Migrant Oblast of Origin";
label var   temp_refugee_location "Returnee Refugee Location";
label var  children "Have Children?";
label var  zsu_connection "Friend/Relative in ZSU";
label var  occupied_connection "Friend/Relative in Occupied Territory";
label var  wounded_connection "Friend/Relative Wounded or Killed";
label var  trust_media "Trust in Media (Cardinal)";
label var  eu_now "Must Join EU Immediately";
label var  russian_people_smi "Russian Support because of Propaganda";
label var  russian_people_empire "Russians Want to build Empire";
label var  russian_people_repression "Russians Fear Repression";
label var  agreement_necessary "Agreement Needed to End War";
label var  zsu_win "ZSU Will Win Eventually";
label var   upa_treatment "UPA Treatment";
label var   holodomor_treatment "Holodomor Treatment";
label var   redarmy_treatment "Red Army Treatment";
label var   crimea_poll_treatment "Crimea Treatment";
label var    dnrlnr_23feb_passport_treatment "Donbass Passportization Treatment";
label var   upa_treatment "UPA Treatment";
label var   russian_only "Using Only Russian";
label var   ukrainian_only "Using Only Ukrainian";
label var   refugee "Internal Refugee";
label var   migrant_bin "Refugee or IDP";
label var   married "Married";
label var rusgov_ruspeople_cardinal "Active Negative Emotion toward Russian Government and/or Russian Citizens before 2022";
label var responseid "Response ID (2022)";
label var   neutrality "Neutrality Concession";
label var   nato_ban "Never Joining NATO Concession";
label var   russian_constitution "Russian as Second Language Concession";
label var   donbass_admin "Donbas Independence Concession";
label var   crimea_independent "Crimea Independence Concession";
label var   donbass_23feb_independent "DNR/LNR Independence Concession";
label var   oblast_code2022 "Oblast Code (2022 Survey)";

